home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / cmake.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  6KB  |  187 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3. <!--
  4. jEdit Syntax Mode for cmake
  5. Last change:  2008-07-05
  6. Author:       Bernhard Walle <bernhard.walle@gmx.de>
  7.  
  8. <MODE NAME="cmake" FILE="cmake.xml" FILE_NAME_GLOB="CMakeLists.txt"/>
  9.  
  10. see http://jedit.org/users-guide/installing-modes.html
  11. -->
  12. <MODE>
  13.     <PROPS>
  14.         <PROPERTY NAME="lineComment" VALUE="#"/>
  15.  
  16.         <PROPERTY NAME="indentSize" VALUE="4"/>
  17.         <PROPERTY NAME="firstlineGlob" VALUE=""/>
  18.         <PROPERTY NAME="wrap" VALUE="none"/>
  19.         <PROPERTY NAME="noTabs" VALUE="false"/>
  20.         <PROPERTY NAME="tabSize" VALUE="8"/>
  21.         <PROPERTY NAME="maxLineLen" VALUE="0"/>
  22.         <PROPERTY NAME="noWordSep" VALUE="_"/>
  23.         <PROPERTY NAME="folding" VALUE="none"/>
  24.         <PROPERTY NAME="customSettings" VALUE="true"/>
  25.         <PROPERTY NAME="deepIndent" VALUE="false"/>
  26.         <PROPERTY NAME="collapseFolds" VALUE="1000"/>
  27.     </PROPS>
  28.     <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  29.  
  30.     <!-- Comments -->
  31.     <EOL_SPAN TYPE="COMMENT1">#</EOL_SPAN>
  32.  
  33.     <!-- variables -->
  34.     <SPAN TYPE="KEYWORD2" NO_LINE_BREAK="TRUE">
  35.       <BEGIN>${</BEGIN>
  36.       <END>}</END>
  37.     </SPAN>
  38.     <MARK_FOLLOWING TYPE="KEYWORD2">$</MARK_FOLLOWING>
  39.  
  40.     <!-- string literals -->
  41.         <SPAN TYPE="LITERAL1" DELEGATE="LITERAL">
  42.             <BEGIN>"</BEGIN>
  43.             <END>"</END>
  44.         </SPAN>
  45.  
  46.     <!-- Function calls -->
  47.         <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
  48.         <SEQ TYPE="OPERATOR">)</SEQ>
  49.  
  50.     <KEYWORDS>
  51.       <!-- operators -->
  52.       <OPERATOR>AND</OPERATOR>
  53.       <OPERATOR>BOOL</OPERATOR>
  54.       <OPERATOR>CACHE</OPERATOR>
  55.       <OPERATOR>COMMAND</OPERATOR>
  56.       <OPERATOR>DEFINED</OPERATOR>
  57.       <OPERATOR>DOC</OPERATOR>
  58.       <OPERATOR>EQUAL</OPERATOR>
  59.       <OPERATOR>EXISTS</OPERATOR>
  60.       <OPERATOR>FALSE</OPERATOR>
  61.       <OPERATOR>GREATER</OPERATOR>
  62.       <OPERATOR>INTERNAL</OPERATOR>
  63.       <OPERATOR>LESS</OPERATOR>
  64.       <OPERATOR>MATCHES</OPERATOR>
  65.       <OPERATOR>NAME</OPERATOR>
  66.       <OPERATOR>NAMES</OPERATOR>
  67.       <OPERATOR>NAME_WE</OPERATOR>
  68.       <OPERATOR>NOT</OPERATOR>
  69.       <OPERATOR>OFF</OPERATOR>
  70.       <OPERATOR>ON</OPERATOR>
  71.       <OPERATOR>OR</OPERATOR>
  72.       <OPERATOR>PATH</OPERATOR>
  73.       <OPERATOR>PATHS</OPERATOR>
  74.       <OPERATOR>PROGRAM</OPERATOR>
  75.       <OPERATOR>STREQUAL</OPERATOR>
  76.       <OPERATOR>STRGREATER</OPERATOR>
  77.       <OPERATOR>STRING</OPERATOR>
  78.       <OPERATOR>STRLESS</OPERATOR>
  79.       <OPERATOR>TRUE</OPERATOR>
  80.  
  81.       <!-- conditionals -->
  82.       <KEYWORD4>FOREACH</KEYWORD4>
  83.       <KEYWORD4>ELSE</KEYWORD4>
  84.       <KEYWORD4>ELSEIF</KEYWORD4>
  85.       <KEYWORD4>IF</KEYWORD4>
  86.       <KEYWORD4>MACRO</KEYWORD4>
  87.       <KEYWORD4>ENDIF</KEYWORD4>
  88.       <KEYWORD4>ENDWHILE</KEYWORD4>
  89.       <KEYWORD4>ENDFOREACH</KEYWORD4>
  90.       <KEYWORD4>ENDMACRO</KEYWORD4>
  91.       <KEYWORD4>WHILE</KEYWORD4>
  92.  
  93.       <!-- default function names -->
  94.       <KEYWORD2>ADD_CUSTOM_COMMAND</KEYWORD2>
  95.       <KEYWORD2>ADD_CUSTOM_TARGET</KEYWORD2>
  96.       <KEYWORD2>ADD_DEFINITIONS</KEYWORD2>
  97.       <KEYWORD2>ADD_DEPENDENCIES</KEYWORD2>
  98.       <KEYWORD2>ADD_EXECUTABLE</KEYWORD2>
  99.       <KEYWORD2>ADD_LIBRARY</KEYWORD2>
  100.       <KEYWORD2>ADD_SUBDIRECTORY</KEYWORD2>
  101.       <KEYWORD2>ADD_TEST</KEYWORD2>
  102.       <KEYWORD2>AUX_SOURCE_DIRECTORY</KEYWORD2>
  103.       <KEYWORD2>BUILD_COMMAND</KEYWORD2>
  104.       <KEYWORD2>BUILD_NAME</KEYWORD2>
  105.       <KEYWORD2>CMAKE_MINIMUM_REQUIRED</KEYWORD2>
  106.       <KEYWORD2>CONFIGURE_FILE</KEYWORD2>
  107.       <KEYWORD2>CREATE_TEST_SOURCELIST</KEYWORD2>
  108.       <KEYWORD2>ENABLE_LANGUAGE</KEYWORD2>
  109.       <KEYWORD2>ENABLE_TESTING</KEYWORD2>
  110.       <KEYWORD2>EXEC_PROGRAM</KEYWORD2>
  111.       <KEYWORD2>EXECUTE_PROCESS</KEYWORD2>
  112.       <KEYWORD2>EXPORT_LIBRARY_DEPENDENCIES</KEYWORD2>
  113.       <KEYWORD2>FILE</KEYWORD2>
  114.       <KEYWORD2>FIND_FILE</KEYWORD2>
  115.       <KEYWORD2>FIND_LIBRARY</KEYWORD2>
  116.       <KEYWORD2>FIND_PACKAGE</KEYWORD2>
  117.       <KEYWORD2>FIND_PATH</KEYWORD2>
  118.       <KEYWORD2>FIND_PROGRAM</KEYWORD2>
  119.       <KEYWORD2>FLTK_WRAP_UI</KEYWORD2>
  120.       <KEYWORD2>GET_CMAKE_PROPERTY</KEYWORD2>
  121.       <KEYWORD2>GET_DIRECTORY_PROPERTY</KEYWORD2>
  122.       <KEYWORD2>GET_FILENAME_COMPONENT</KEYWORD2>
  123.       <KEYWORD2>GET_SOURCE_FILE_PROPERTY</KEYWORD2>
  124.       <KEYWORD2>GET_TARGET_PROPERTY</KEYWORD2>
  125.       <KEYWORD2>GET_TEST_PROPERTY</KEYWORD2>
  126.       <KEYWORD2>INCLUDE</KEYWORD2>
  127.       <KEYWORD2>INCLUDE_DIRECTORIES</KEYWORD2>
  128.       <KEYWORD2>INCLUDE_EXTERNAL_MSPROJECT</KEYWORD2>
  129.       <KEYWORD2>INCLUDE_REGULAR_EXPRESSION</KEYWORD2>
  130.       <KEYWORD2>INSTALL</KEYWORD2>
  131.       <KEYWORD2>INSTALL_FILES</KEYWORD2>
  132.       <KEYWORD2>INSTALL_PROGRAMS</KEYWORD2>
  133.       <KEYWORD2>INSTALL_TARGETS</KEYWORD2>
  134.       <KEYWORD2>LINK_DIRECTORIES</KEYWORD2>
  135.       <KEYWORD2>LINK_LIBRARIES</KEYWORD2>
  136.       <KEYWORD2>LIST</KEYWORD2>
  137.       <KEYWORD2>LOAD_CACHE</KEYWORD2>
  138.       <KEYWORD2>LOAD_COMMAND</KEYWORD2>
  139.       <KEYWORD2>MAKE_DIRECTORY</KEYWORD2>
  140.       <KEYWORD2>MARK_AS_ADVANCED</KEYWORD2>
  141.       <KEYWORD2>MATH</KEYWORD2>
  142.       <KEYWORD2>MESSAGE</KEYWORD2>
  143.       <KEYWORD2>OPTION</KEYWORD2>
  144.       <KEYWORD2>OUTPUT_REQUIRED_FILES</KEYWORD2>
  145.       <KEYWORD2>PROJECT</KEYWORD2>
  146.       <KEYWORD2>QT_WRAP_CPP</KEYWORD2>
  147.       <KEYWORD2>QT_WRAP_UI</KEYWORD2>
  148.       <KEYWORD2>REMOVE</KEYWORD2>
  149.       <KEYWORD2>REMOVE_DEFINITIONS</KEYWORD2>
  150.       <KEYWORD2>SEPARATE_ARGUMENTS</KEYWORD2>
  151.       <KEYWORD2>SET</KEYWORD2>
  152.       <KEYWORD2>SET_DIRECTORY_PROPERTIES</KEYWORD2>
  153.       <KEYWORD2>SET_SOURCE_FILES_PROPERTIES</KEYWORD2>
  154.       <KEYWORD2>SET_TARGET_PROPERTIES</KEYWORD2>
  155.       <KEYWORD2>SET_TESTS_PROPERTIES</KEYWORD2>
  156.       <KEYWORD2>SITE_NAME</KEYWORD2>
  157.       <KEYWORD2>SOURCE_GROUP</KEYWORD2>
  158.       <KEYWORD2>STRING</KEYWORD2>
  159.       <KEYWORD2>SUBDIR_DEPENDS</KEYWORD2>
  160.       <KEYWORD2>SUBDIRS</KEYWORD2>
  161.       <KEYWORD2>TARGET_LINK_LIBRARIES</KEYWORD2>
  162.       <KEYWORD2>TRY_COMPILE</KEYWORD2>
  163.       <KEYWORD2>TRY_RUN</KEYWORD2>
  164.       <KEYWORD2>USE_MANGLED_MESA</KEYWORD2>
  165.       <KEYWORD2>UTILITY_SOURCE</KEYWORD2>
  166.       <KEYWORD2>VARIABLE_REQUIRES</KEYWORD2>
  167.       <KEYWORD2>VTK_MAKE_INSTANTIATOR</KEYWORD2>
  168.       <KEYWORD2>VTK_WRAP_JAVA</KEYWORD2>
  169.       <KEYWORD2>VTK_WRAP_PYTHON</KEYWORD2>
  170.       <KEYWORD2>VTK_WRAP_TCL</KEYWORD2>
  171.       <KEYWORD2>WRITE_FILE</KEYWORD2>
  172.     </KEYWORDS>
  173.  
  174.     </RULES>
  175.   <RULES SET="LITERAL" DEFAULT="LITERAL1" ESCAPE="\">
  176.     <!-- Variables -->
  177.     <SPAN TYPE="KEYWORD2" NO_LINE_BREAK="TRUE">
  178.       <BEGIN>${</BEGIN>
  179.       <END>}</END>
  180.     </SPAN>
  181.     <MARK_FOLLOWING TYPE="KEYWORD2">$</MARK_FOLLOWING>
  182.   </RULES>
  183.  
  184. </MODE>
  185.  
  186.  
  187.